package AbstractClass.AbstractClassDome002;

/**
 * ClassName:Text
 * Package:AbstractClass.AbstractClassDome002
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/24-19:46
 * @Version:v1.0
 */
public class Text {
    public static void main(String[] args) {
        Frog f= new Frog("小绿青蛙",1);
        System.out.println(f.getName()+f.getAge()+"岁");
        f.eat();
        f.drink();
    }
}
